package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.OrdersDto;
import com.itheima.reggie.entity.Orders;


import java.time.LocalDateTime;

public interface OrderService extends IService<Orders> {
    void submit(Orders orders);
    Page<OrdersDto> listByPageAndCondition(int page, int pageSize);

    Page<OrdersDto> pageByCondition(Integer page, Integer pageSize, Long number, LocalDateTime beginTime, LocalDateTime endTime);
}